package com.foodmarket.service;

import com.foodmarket.pojo.FoodItems;

import java.util.List;

public interface FoodService {

    void add(FoodItems foodItems);

    FoodItems findByFoodName(String foodName);

    void updateFood(FoodItems foodItems);

    void deleteByFoodName(String foodName);

    List <FoodItems> findAllFood(int SellerId);

    List<FoodItems> findAllFoodItems();

    FoodItems findByFoodId(Integer foodId);
}
